package com.hsylient.javase.design.pattern.observer.java9;

import java.util.List;

public class FlowTest {


    public static void main(String[] args) {
        List<String> list = List.of("hello", "nihao", "nanshou");
        list.add("xxx");
//        list.forEach();
    }
}
